import Vuex from 'vuex'
import Vue from 'vue'
import home from './modules/home'
import search from './modules/search'
import detail from './modules/detail'
import user from './modules/user'

Vue.use(Vuex)
const store = new Vuex.Store({
  modules: { home, search, detail, user },
})

export default store
